#ifndef __M_BROWSER_H__
#define __M_BROWSER_H__

#include "file.h"

#define MAX_DIR_LEVELS 128

#define HOME_PATH "home"

void initBrowserDrawInfo();
int initBrowser();
int finishBrowser();

int drawBrowser();
int ctrlBrowser();

int changeToDirectoryFromFile(const char *path);

int currentPathIsFile();
int makeCurFileName(char *name);
int makeCurFilePath(char *path);

FileList *browserGetFileList();

#endif
